package com.woniu.gf.pawn.shopweb.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniu.gf.pawn.comm.core.domain.Shop;
import com.woniu.gf.pawn.comm.core.domain.Store;
import com.woniu.gf.pawn.pageparam.PageParam;
import com.woniu.gf.pawn.shopdto.ShopDto;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.gf.pawn.shopparam.ShopParam;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author TL
 * @since 2020-10-13
 */
public interface IShopService extends IService<Shop> {


    int addShop(ShopParam shop);

    IPage<Shop> findShopInfo(PageParam pageParam);

    List<Store> findStore(Integer shopId);

    ShopParam findOneShopInfo(Integer shopId);

    void updateShop(ShopParam shopParam);

    int deleteShop(Integer shopId);
}
